翻訳と辞書
Words near each other
・ InstallFree
・ InstallJammer
・ Installment Agreement
・ Installment credit
・ Installment loan
・ Installment note
・ Installment sale
・ Installment sales method
・ InstallShield
・ Installware
・ Installwatch
・ Instalment
・ InstaLoad
・ Instamatic
・ Instamojo
Instance (computer science)
・ Instance Cause
・ Instance dungeon
・ Instance variable
・ Instance vx
・ Instance-based learning
・ Instances of subliminal messages
・ Instancing
・ Instant
・ Instant (album)
・ Instant 0 in the Universe
・ Instant answer
・ Instant Armadillo Blues
・ Instant Brain
・ Instant breakfast


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Instance (computer science) : ウィキペディア英語版
Instance (computer science)

In object-oriented programming (OOP), an instance is a specific realization of any object. Formally, "instance" is synonymous with "object" as they are each a particular value (realization), and these may be called an instance object; "instance" emphasizes the distinct identity of the object. The creation of an instance is called instantiation.
In class-based programming, objects are created from classes by subroutines called constructors, and destroyed by destructors. An object is an instance of a class, and may be called a class instance or class object; instantiation is then also known as construction. Not all classes can be instantiated abstract classes cannot be instantiated, while classes that can be instantiated are called concrete classes. In prototype-based programming, instantiation is instead done by copying a prototype.
An object may be varied in a number of ways. Each realized variation of that object is an instance. Each time a program runs, it is an instance of that program. That is, it is a member of a given class that has specified values rather than variables. In a non-programming context, you could think of "dog" as a type and your particular dog as an instance of that class.
An important distinction is between the data type, which is interface, and the class, which is implementation.
The meaning of the term "type" in computer science is rather similar to the meaning of the word "type" in everyday language. For example, a barman can ask a client what type of beverage does he or she want coffee, tea or beer? A particular cup of coffee that the client receives is in the role of an instance, while two cups of coffee would form a set of two instances of coffee, determining its type at the same time.
== References ==


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Instance (computer science)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.